Skip to main content

2.13.4. Response

FieldDescriptionType
statussuccess | error
codeError codeInteger
documentIDID of the document in the smartone Cashbox systemInteger
fiscalIDFiscal code of the docString

Error codes​

FieldDescription
0No error
2Invalid JSON format
5Internal error
6Shift not open

[!NOTE] If the required amount is not available at the cash desk, an error is returned: 9 - there is not enough cash at the cash desk to complete the collection

Response example​

{
"cash": 9100,
"cashIn": 101300,
"cashOut": 100000,
"documentID": 44,
"fiscalID": "23",
"shiftOrdersCnt": 0,
"status": "success"
}